home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-03-06 | 2.2 KB | 57 lines | [TEXT/GEOL] |
- Item 2626005 12-Sept-90 18:49PDT
-
- From: AUST0338 AUPtnr - Tactics Int'l,Shillito,IDV
-
- To: BBSF.DEV Babcock & Brown, Michael Harper,AST
-
- cc: MACAPP.TECH$ MacApp Technical
-
- Sub: Re: Font change for EditText
-
- To: BBSF.DEV - Michael Harper
- From: AUST0338 - David Shillito
- Date: 13th September 1990
- Subject: Re: Font change for EditText
-
- Here is the Rez source for my password dialog. As you can see in the 'PSWD'
- EditText item the special password font (which I incorporate into my
- application's resource file) is named "Password". The technique is exactly the
- same whether the font is in the application file or the system file.
-
- David Shillito
-
-
- resource 'view' (cPasswordDialog, "cPasswordDialog", purgeable) {{
-
- root, 'WIND', {0, 0}, {168, 216}, sizeFixed, sizeFixed, shown, enabled,
- Window {"", dBoxProc, noGoAwayBox, notResizable, modal, doFirstClick,
- freeOnClosing, disposeOnFree, doesntCloseDocument, dontOpenWithDocument,
- dontAdaptToScreen, dontStagger, forceOnScreen, center, 'DLOG',
- "Enter Password Dialog"},
-
- 'WIND', 'DLOG', {0, 0}, {168, 216}, sizeSuperView, sizeSuperView, shown,
- enabled,
- DialogView {"", 'OK ', 'CNCL'},
-
- 'DLOG', noID, {8, 8}, {16, 200}, sizeFixed, sizeFixed, shown, disabled,
- StaticText {"", noAdornment, sizeable, notDimmed, notHilited,
- doesntDismiss, noInset, plain, 0, {0xBFFF, 0x0, 0x0}, "", justCenter,
- "Enter Password…"},
-
- 'DLOG', 'TITL', {32, 8}, {68, 200}, sizeFixed, sizeFixed, shown, disabled,
- StaticText {"", adnFrame, {1, 1}, sizeable, notDimmed, notHilited,
- doesntDismiss, {3, 3, 3, 3}, systemFont, justCenter,
- "Very long text on more than one line"},
-
- 'DLOG', 'PSWD', {108, 8}, {22, 200}, sizeFixed, sizeFixed, shown, enabled,
- EditText {"", adnFrame, {1, 1}, sizeable, notDimmed, notHilited,
- doesntDismiss, {3, 3, 3, 3}, plain, 0, black, "Password", justLeft, "", 31,
- arrowsAndBackspace},
-
- 'DLOG', 'OK ', {140, 60}, {28, 88}, sizeFixed, sizeFixed, shown, enabled,
- Button {"", adnRRect, {3, 3}, sizeable, notDimmed, notHilited,
- dismisses, {4, 4, 4, 4}, systemFont, "OK"}
- }
- };
-
-